import { defineStore } from 'pinia'
import { computed, ref } from 'vue'
import { useCounterStore } from './counter.js'

export const textCounterStore = defineStore('text', () => {
	const tilpcount = useCounterStore()
	const textcount = computed(() => {
		return tilpcount.count + 2
	})
	return { textcount }
})
